<?php

$rawdata=file_get_contents('php://input', 'r');
$arr=json_decode($rawdata);
$gets='';
foreach ($_GET as $key=>$val)
{
	$gets.=$key.','.$val.' ';
}
$posts='';
foreach ($_POST as $key=>$val)
{
	$posts.=$key.','.$val.' ';
}
file_put_contents('user_callback.log',"[user_callback.php|raw: $rawdata\n",FILE_APPEND);
file_put_contents('user_callback.log',"[user_callback.php|get: $gets\n",FILE_APPEND);
file_put_contents('user_callback.log',"[user_callback.php|post: $posts\n",FILE_APPEND);
 